dojo.declare("Main", wm.Page, {
start: function() {
},
"preferredDevice": "desktop",
svUserNameSuccess: function(inSender, inDeprecated) {
//	alert(inSender.data.dataValue);
//console.error(inSender);
},
_end: 0
});

Main.widgets = {
varTemplateLogout: ["wm.LogoutVariable", {}, {}, {
input: ["wm.ServiceInput", {"type":"logoutInputs"}, {}]
}],
varTemplateLogout1: ["wm.LogoutVariable", {}, {}, {
input: ["wm.ServiceInput", {"type":"logoutInputs"}, {}]
}],
svUserName: ["wm.ServiceVariable", {"inFlightBehavior":"executeLast","operation":"getUserId","service":"securityService","startUpdate":true}, {"onSuccess":"svUserNameSuccess","onSuccess1":"lvLoggedCustomer"}, {
input: ["wm.ServiceInput", {"type":"getUserIdInputs"}, {}]
}],
svIsAuthenticated: ["wm.ServiceVariable", {"inFlightBehavior":"executeLast","operation":"isAuthenticated","service":"securityService","startUpdate":true}, {}, {
input: ["wm.ServiceInput", {"type":"isAuthenticatedInputs"}, {}]
}],
lvLoggedCustomer: ["wm.LiveVariable", {"autoUpdate":false,"inFlightBehavior":"executeLast","startUpdate":false,"type":"com.servicelivedb.data.Customer"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"svUserName.dataValue","targetProperty":"filter.email"}, {}]
}],
liveView: ["wm.LiveView", {"dataType":"com.servicelivedb.data.Customer","view":[{"caption":"CustomerId","sortable":true,"dataIndex":"customerId","type":"java.lang.Integer","displayType":"Number","required":true,"readonly":true,"includeLists":true,"includeForms":true,"order":0,"subType":null},{"caption":"Address","sortable":true,"dataIndex":"address","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1,"subType":null},{"caption":"Email","sortable":true,"dataIndex":"email","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":2,"subType":null},{"caption":"UpdatedDt","sortable":true,"dataIndex":"updatedDt","type":"java.util.Date","displayType":"Date","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":3,"subType":null},{"caption":"UpdatedBy","sortable":true,"dataIndex":"updatedBy","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":4,"subType":null},{"caption":"Active","sortable":true,"dataIndex":"active","type":"java.lang.Boolean","displayType":"CheckBox","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":5,"subType":null},{"caption":"Password","sortable":true,"dataIndex":"password","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":6,"subType":null},{"caption":"Username","sortable":true,"dataIndex":"username","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":7,"subType":null},{"caption":"Name","sortable":true,"dataIndex":"name","type":"java.lang.String","displayType":"Text","required":true,"readonly":false,"includeLists":true,"includeForms":true,"order":8,"subType":null},{"caption":"PrimaryPhone","sortable":true,"dataIndex":"primaryPhone","type":"java.lang.String","displayType":"Text","required":true,"readonly":false,"includeLists":true,"includeForms":true,"order":9,"subType":null},{"caption":"SecondaryPhone","sortable":true,"dataIndex":"secondaryPhone","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":10,"subType":null},{"caption":"Type","sortable":true,"dataIndex":"type","type":"java.lang.String","displayType":"Text","required":true,"readonly":false,"includeLists":true,"includeForms":true,"order":11,"subType":null},{"caption":"AlternateContact","sortable":true,"dataIndex":"alternateContact","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":12,"subType":null}]}, {}]
}],
layoutBox1: ["wm.Layout", {"horizontalAlign":"center","layoutKind":"left-to-right","styles":{"backgroundColor":"#c3deeb","backgroundImage":"resources/images/logos//backgrounWood.jpg","backgroundRepeat":"repeat","backgroundGradient":""},"verticalAlign":"top"}, {}, {
panel1: ["wm.Panel", {"border":"0,1,0,0","borderColor":"#999999","height":"100%","horizontalAlign":"left","minHeight":600,"minWidth":900,"verticalAlign":"top","width":"85%"}, {}, {
panel2: ["wm.HeaderContentPanel", {"border":"0,0,1,0","height":"65px","horizontalAlign":"left","layoutKind":"left-to-right","padding":"0,10,0,10","verticalAlign":"middle","width":"100%"}, {}, {
picture1: ["wm.Picture", {"height":"50px","source":"lib/wm/base/widget/themes/default/images/wmLogo.png","width":"62px"}, {}],
label3: ["wm.Label", {"align":"left","caption":"Service Live Home","height":"35px","padding":"4","styles":{"fontWeight":"bold","color":"#192c5b"},"width":"100%"}, {}],
panel10: ["wm.Panel", {"height":"100%","horizontalAlign":"left","verticalAlign":"top","width":"300px"}, {}, {
label4: ["wm.Label", {"align":"left","padding":"2","width":"100%"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":"Logged in as ${svUserName.dataValue}","targetProperty":"caption"}, {}]
}]
}],
panel15: ["wm.Panel", {"desktopHeight":"24px","enableTouchHeight":true,"height":"24px","horizontalAlign":"left","layoutKind":"left-to-right","mobileHeight":"24%","verticalAlign":"middle","width":"100%"}, {}, {
text1: ["wm.Text", {"dataValue":undefined,"displayValue":"","placeHolder":"Search","resetButton":true,"width":"100%"}, {}],
picture5: ["wm.Picture", {"height":"16px","source":"lib/images/silkIcons/zoom.png","width":"16px"}, {}]
}]
}],
logoutButton: ["wm.Button", {"caption":"Logout","margin":"4"}, {"onclick":"varTemplateLogout"}]
}],
panel3: ["wm.Panel", {"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
panel4: ["wm.MainContentPanel", {"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
allLayers: ["wm.Layers", {}, {}, {
layerAdmin: ["wm.Layer", {"borderColor":"","caption":"layer1","horizontalAlign":"left","roles":["ADMIN"],"themeStyleType":"","verticalAlign":"top"}, {}, {
pcAdminContent: ["wm.PageContainer", {"deferLoad":true,"pageName":"DAdminPg","roles":["ADMIN"],"subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}]
}],
layerCustomer: ["wm.Layer", {"borderColor":"","caption":"layer1","horizontalAlign":"left","roles":["CUSTOMER"],"themeStyleType":"","verticalAlign":"top"}, {}, {
pcCustomerContent: ["wm.PageContainer", {"deferLoad":true,"pageName":"DCustomerHomePg","roles":["CUSTOMER"],"subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}]
}],
layerVendor: ["wm.Layer", {"borderColor":"","caption":"layer1","horizontalAlign":"left","roles":["VENDOR"],"themeStyleType":"","verticalAlign":"top"}, {}, {
pcVendorContent: ["wm.PageContainer", {"deferLoad":true,"pageName":"DVendorHomePg","roles":["VENDOR"],"subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}]
}]
}]
}]
}],
panel6: ["wm.HeaderContentPanel", {"height":"24px","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
picture2: ["wm.Picture", {"height":"100%","source":"lib/wm/base/widget/themes/default/images/wmSmallLogo.png","width":"24px"}, {}],
label2: ["wm.Label", {"_classes":{"domNode":["wm_FontSizePx_10px"]},"caption":"Contact Us","height":"100%","padding":"4"}, {}],
label1: ["wm.Label", {"_classes":{"domNode":["wm_FontSizePx_10px"]},"align":"right","caption":"Copyright 2013 TechnologyPort","height":"100%","padding":"4","width":"100%"}, {}]
}]
}]
}]
};

Main.prototype._cssText = '';
Main.prototype._htmlText = '';